import { useState, useEffect, FC } from "react";
import { NavLink, Outlet } from "react-router-dom";
const Demo: FC = () => {
  return (
    <div className="conter">
      <div className="conter_top">
        <NavLink to="/">所有</NavLink>
        <NavLink to="web">前端</NavLink>
        <NavLink to="app">后端</NavLink>
        <NavLink to="read">阅读</NavLink>
        <NavLink to="linux">Linux</NavLink>
        <NavLink to="lq">Lettcode</NavLink>
        <NavLink to="news">要闻</NavLink>
      </div>
      <div className="conter_bottom">
        <Outlet />
      </div>
    </div>
  );
};
export default Demo;
